package com.xyz.base.dao;

import org.springframework.orm.ibatis.SqlMapClientTemplate;

import com.ibatis.sqlmap.client.SqlMapClient;

/**
 * 基础Dao类，注入SqlMapClient和SqlMapClientTemplate
 * 
 * @author xyzjh
 * 
 */
public class BaseDao {
	protected SqlMapClient sqlMapClient;
	protected SqlMapClientTemplate sqlMapClientTemplate;

	public SqlMapClient getSqlMapClient() {
		return sqlMapClient;
	}

	public void setSqlMapClient(SqlMapClient sqlMapClient) {
		this.sqlMapClient = sqlMapClient;
	}

	public SqlMapClientTemplate getSqlMapClientTemplate() {
		return sqlMapClientTemplate;
	}

	public void setSqlMapClientTemplate(
			SqlMapClientTemplate sqlMapClientTemplate) {
		this.sqlMapClientTemplate = sqlMapClientTemplate;
	}

}
